Reorganize `PackageRegistry::query` a bit
authorAlex Crichton <alex@alexcrichton.com>
Sat, 3 Jun 2017 00:17:24 +0000 (17:17 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 5 Jun 2017 14:36:44 +0000 (07:36 -0700)
commit86774bd87b74603f1405c50f9c09d10464dca14a
treed920fce2ecd03f8289a66cc0c5e27b0b0462ab62
parent60aadc583de0ff42b6b8178c7c55f3b19c9df0c5
Reorganize `PackageRegistry::query` a bit

Less branches and more intuitive flow.
src/cargo/core/registry.rs